package com.lancoo.ccas53.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: mabolin
 * @Date: 2024-07-11-15:16
 * @Description:
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "分页信息")
public class SetCourseDto<T> implements Serializable {
    @ApiModelProperty("已设置课程")
    private Long setNum;
    @ApiModelProperty("未设置课程")
    private Long unSetNum;
    @ApiModelProperty("全部课程")
    private Integer totalSetNum;

    @ApiModelProperty(value = "当前页编号")
    private long currentPage;

    @ApiModelProperty(value = "每页的数量")
    private long pageSize;

    @ApiModelProperty(value = "总记录数")
    private long total;

    @ApiModelProperty(value = "总页数")
    private long pages;

    @ApiModelProperty(value = "结果集")
    private List<T> list;
}
